#ifndef _GDIPLUS_GRAPHICS
#define _GDIPLUS_GRAPHICS

#include <windows.h>
#include <GdiPlus.h>
#pragma comment(lib,"Gdiplus.lib")

using namespace Gdiplus;
#include "FigureDraw.h"

class GdiPlusGraphics: public FigureDraw
{
private:
	Graphics* g;
public:
	GdiPlusGraphics();
	void drawLine(int x1, int y1, int x2, int y2, string stroke, int strokeWidth);
	void drawRectangle(int x, int y, int width, int height, string stroke, int strokeWidth, string fill);
	void drawEllipse(int cx, int cy, int rx, int ry, string stroke, int strokeWidth, string fill);
};
#endif